package com.zjapl.web.action;

import com.opensymphony.xwork2.ActionSupport;
import com.zjapl.web.service.LoginCheckEmailService;
import com.zjapl.web.service.impl.LoginCheckEmailServiceImpl;

/**
 * @author linmeng E-mail:kevinlinm1989@gmail.com
 * @version 创建时间：2013-1-10 下午3:49:53
 * 类说明
 */
public class LoginCheckEmailAction extends ActionSupport{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private String email;
	private Boolean success = false;
	
	public String execute(){
		LoginCheckEmailService loginCheckEmailService = new LoginCheckEmailServiceImpl();
		success = loginCheckEmailService.loginCheckEmail(email);
		
		return SUCCESS;
	}

	public boolean isSuccess() {
		return success;
	}

	public void setEmail(String email) {
		this.email = email;
	}
	
	

}
